<?php
/*
 * @ https://EasyToYou.eu - IonCube v11 Decoder Online
 * @ PHP 7.2 & 7.3
 * @ Decoder version: 1.1.6
 * @ Release: 10/08/2022
 */

// Decoded file for php version 71.
namespace app\admin\model;

class AdminRole extends \app\BaseModel
{
    protected $name = "longbing_admin_role";
    protected $pk = "ur_id";
    public function __construct()
    {
        parent::__construct();
    }
    protected static function init()
    {
    }
    public function createUserRole($data)
    {
        $data["ur_id"] = uuid();
        $data["create_time"] = $this->time();
        return $this->save($data);
    }
    public function delUserRole($filter)
    {
        return $this->delRow($filter);
    }
}

?>